home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 51 / HCDEMO_UK.iso / Army Men / Maps / alp2_2.txt < prev    next >
Text File  |  1998-04-20  |  4KB  |  175 lines

  1. // ALPINE SCENARIO 2 Mission 4 Stop the Train
  2.  
  3.  
  4.  
  5.  
  6.     // ** PADS ** //
  7.  
  8.  
  9. PAD guard 30     GREEN > 0 //Deploys TanRiflemen if green get's near
  10. PAD 202pad 31 
  11. PAD 203pad 32
  12.  
  13. PAD trapped1 15 GREEN SARGE > 0
  14.  
  15. PAD sargeisabadboy 99 GREEN SARGE > 0
  16. PAD sargeisabadboy2 98 GREEN SARGE > 0
  17. PAD sargeisabadboy3 97 GREEN SARGE > 0
  18. PAD sargeisabadboy4 7 GREEN SARGE > 0
  19.  
  20. PAD medicaltentpad 23 GREEN SARGE > 0
  21. PAD medicaltentpad1 23 GREEN UNIT > 0
  22.  
  23.     // ** UNIT DISPERSEMENT ** //
  24. //TanRifle201 undeployed to the west of train station, 1 trooper
  25. //Tan Rifle202, TanRifle203 undeployed south entrance of train station, 1 trooper each
  26.  
  27.  
  28.  
  29.  
  30.  
  31. IF startup THEN
  32.     TRIGGER reducetension,
  33.     ORDER TanSpecial101 GOTO TanSpecial101 INMODE KNEELFIRE THEN ATMODE KNEELFIRE,
  34.     TRIGGER timetoheal,
  35.     TRIGGER endlooping
  36.  
  37.     // ** GAME TERMINATION CONDITIONS ** //
  38.  
  39. // if sarge dies, you lose
  40. IF killed_GreenSarge THEN
  41.     TRIGGERDELAY 2 tanwins
  42.  
  43. //win if all Tan dead
  44. IF killed_TanSpecial101 THEN
  45.     REMOVEOBJECT key,
  46.     PLACEOBJECT key TanSpecial101
  47.  
  48.  
  49.  
  50. IF get_GreenSarge_key THEN
  51.     INVULNERABLESARGE,
  52.     TRIGGERDELAY 2 greenwins
  53.  
  54. //Music
  55. IF addtension THEN
  56.     AUDIO HIGHINTENSITY
  57.  
  58. IF reducetension THEN
  59.     AUDIO LOWINTENSITY
  60.  
  61.  
  62.  
  63.     // ** GAME EVENTS ** //
  64.  
  65.  
  66.  
  67. //begins train process if Green wanders around for too long
  68.  
  69. IF TIMEABSOLUTE 170 THEN 
  70.     TRIGGER testtrain
  71.  
  72.  
  73.  
  74.  
  75. IF bridgetest BUTNOT killed_supports1 THEN
  76.     TRIGGER addtension,
  77.     TRIGGER gotrain
  78.  
  79.  
  80. IF testtrain BUTNOT gotrain THEN
  81.     TRIGGER addtension,
  82.     TRIGGER gotrain
  83.  
  84.  
  85. //deploys tan troops if Train makes it to the station
  86. IF trainatstation THEN
  87.     DEPLOY TanRifle202 ATMODE ATTACK,
  88.     DEPLOY TanRifle203 ATMODE ATTACK,
  89.     ORDER TanRifle202 GOTO 202pad INMODE ATTACK THEN ATMODE DEFEND,
  90.     ORDER TanRifle203 GOTO 203pad INMODE ATTACK THEN ATMODE DEFEND
  91.  
  92. //Deploys TanRifle201 if Green get's near
  93. IF 1 OF on_guard THEN
  94.     TRIGGER addtension,
  95.     DEPLOY TanRifle201 ATMODE ATTACK,
  96.     TRIGGERDELAY 2 bridgetest
  97.  
  98.  
  99. //Tests to see if Bridge is there, if it is, blow it up
  100. IF killed_supports1 BUTNOT trainatstation THEN
  101.     TRIGGER gotrain
  102.  
  103.  
  104. //Tests to see if train was sent before bridge was blown
  105.  
  106.  
  107.  
  108. IF killed_cratestack1 THEN
  109.     REMOVEOBJECT porthealth2,
  110.     PLACEOBJECT porthealth2 cratestack1
  111.  
  112.  
  113.  
  114.  
  115. // enable mash tents
  116. IF startup THEN
  117.     TRIGGER setupgreen,
  118.     TRIGGERDELAY 0.1 setmash
  119.  
  120. IF setupgreen THEN
  121.     TRIGGER gsmedtime
  122.  
  123. IF setmash THEN 
  124.     TRIGGER greenmashready
  125.  
  126. IF on_medicaltentpad AFTER off_medicaltentpad AND gsmedtime AFTER NULL AND startup AFTER killed_greenmash THEN
  127.     HEAL ME    10,
  128.     TRIGGERDELAY 1.5 gsmedtime
  129.  
  130.  
  131. IF on_medicaltentpad1 BUTNOT killed_greenmash THEN
  132.     HEAL ME 100
  133.  
  134.  
  135.  
  136.  
  137. // If sarge is trapped due to a mine collapse
  138. IF on_sargeisabadboy AFTER off_sargeisabadboy AND checktrapped1 AFTER NULL THEN
  139.     EXPLODE GreenSarge
  140.  
  141. IF killed_mineshaft3 THEN
  142.     TRIGGER checktrapped1,
  143.     TRIGGER checktrapped3
  144.  
  145. IF killed_mineshaft2 THEN
  146.     TRIGGER checktrapped3
  147.  
  148. IF killed_mineshaft5 THEN
  149.     TRIGGER checktrapped2
  150.  
  151.  
  152. IF killed_startbridge THEN
  153.     TRIGGER checktrapped4
  154.  
  155. IF on_sargeisabadboy4 AFTER off_sargeisabadboy4 AND checktrapped4 AFTER NULL THEN
  156.     TRIGGERDELAY 2 airstrikesarge
  157.  
  158.  
  159. IF on_sargeisabadboy2 AFTER off_sargeisabadboy2 AND checktrapped2 AFTER NULL THEN
  160.     TRIGGERDELAY 2 airstrikesarge
  161.  
  162. IF on_trapped1 AFTER off_trapped1 AND checktrapped3 AFTER NULL THEN
  163.     TRIGGERDELAY 2 airstrikesarge
  164.  
  165. IF on_sargeisabadboy3 AFTER off_sargeisabadboy3 AND killed_supports1 AFTER NULL THEN
  166.     TRIGGERDELAY 2 airstrikesarge
  167.  
  168. IF ALLOF airstrikesarge BUTNOT killed_GreenSarge THEN
  169.     AIRSTRIKE GreenSarge,
  170.     TRIGGERDELAY 6 airstrikesarge
  171.  
  172.  
  173.  
  174.  
  175.